package com.jic.market.service.rest.goods;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.rest.goods.GoodsListRestRequest;
import com.jic.market.request.rest.goods.GoodsRestRequest;

import java.util.List;


/**
 * 商品对接
 * @author :
 * @email :
 * @since : 2020-04-09
 * @version : v1.0.0
 */
public interface GoodsRestService {

    /**
     * 新增商品信息
     * SPU、SKU
     * @param request
     * @return
     */
    RestResult syncThirdGoodsInfo(GoodsListRestRequest request);

    /**
     * 编辑商品信息
     * SPU、SKU
     * @param request
     * @return
     */
    RestResult editGoodsInfo(GoodsRestRequest request);

}